#include <vector>
#include <string>

#include "menu_inicial.h"
#include "../view/menu_inicial.h"

using namespace std;
using namespace Controller;

/**
 * Construtor
 */
MenuInicial::MenuInicial()
{
}

/**
 * Destruidor
 */
MenuInicial::~MenuInicial()
{
}

/**
 * Inicia o menu inicial do jogo
 */
void MenuInicial::iniciar()
{
  vector<wstring>    opcoes;
  View::MenuInicial* menuInicial;
  int                opcao;

  /**
   * Popula as opcoes do menu inicial
   */
  opcoes.push_back(L"Iniciar Jogo");
  opcoes.push_back(L"Sair do Jogo");

  /**
   * Instancia a interface do menu inicial
   */
  menuInicial = new View::MenuInicial(opcoes);

  /**
   * Exibe as opcoes do menu inicial
   */
  menuInicial->exibirOpcoes();

  /**
   * Pega a opcao do menu
   */
  opcao = menuInicial->pegaOpcao();
}